body .ivu-modal-wrap {
    .center-container;
    >.ivu-modal {
        top: 0;
    }
}

.ivu-modal {
    .ivu-modal-header p,
    .ivu-modal-header-inner {
        overflow: visible;
    }
    .ivu-modal-close {
        z-index: 12;
    }
}

.ivu-modal-body {
    .ivu-tabs-content {
        margin-top: -8px;
    }
    .tab-left .ivu-tabs-content {
        margin-top: 0;
    }
}

/*对于内含节点的modal进行特殊设置*/

.modal-node {
    .ivu-modal-body>div>.node-panel {
        height: auto;
    }
}

.modal-center {
    .ivu-modal {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .ivu-modal-content {
            width: 100%;
        }
    }
}

.modal-full {
    .ivu-spin {
        border-radius: 6px;
    }
}

.modal-full,
.modal-center {
    .ivu-modal {
        padding: 30px 0;
        height: 100%;
        top: 0;
    } //非组件元素设置
    .button-panel-button {
        margin: 0px 0px;
    }
    .modal-spin {
        position: absolute;
        width: 100%;
        bottom: 0px;
        margin-left: -15px;
        margin-top: 51px;
        margin-bottom: 59px;
        top: 0;
        bottom: 0;
        z-index: 1;
        background: transparent;
        >div {
            background: #fff;
        }
    }
}

.modal-full {
    .ivu-modal {
        padding: 30px 0;
        height: 100%;
        top: 0;
        .ivu-modal-content {
            height: 100%;
            .ivu-modal-body {
                overflow-y: auto;
                overflow-x: hidden;
                height: 100%;
                margin-top: -110px;
                padding: 110px 0 0 0;
                >div {
                    overflow-y: auto;
                    overflow-x: hidden;
                    height: 100%;
                    padding: 15px;
                }
            }
        }
    }
}

.ivu-modal .ivu-modal-confirm-body {
    >div>p {
        max-height: 200px;
        overflow: auto;
    }
    .ivu-modal-confirm-footer {
        margin-top: 20px;
        text-align: right;
        .ivu-btn {
            padding: 6px 20px;
        }
    }
}